The authors propose a practical and accurate cross site script prevention method based on delimiters for UTF-8 encoded web applications. Only trusted delimiters are tainted into corresponding UTF-8 shadow bytes, and these tainted shadow bytes are automatically propagated in web applications and can be directly delivered into output pages. Cross site script is prevented by analyzing the tainted delimiters and HTML context of output pages. A prototype called XSSCleaner is implemented on PHP. The evaluation shows that XSSCleaner can accurately protect web applications from real world cross site script attacks with an average overhead 12.9%.
The Qingcaoshan granitic pluton, located in the Zhapu-Duobuza magmatic arc in southern Qiangtang, consists of granite porphyry and quartz monzonitic porphyry. However, the age and genesis are not studied due to absence of geochemical and geochronological data. The weighted average 206Pb/238U age of 122±1 Ma (MSWD=3.9) for quartz monzonitic porphyry and 114.6±1.2 Ma (MSWD=1.1) for granite porphyry is present by LA-ICPMS and SHRIMP zircon U-Pb dating. The intrusion have minor muscovite and cordierite, no hornblende. The granitic pluton is characterized by enriched Al (A12O3: 14.81%-15.86%), depleted Ca (CaO: 1.10%-2.44%), and high content of alkali (K2O+Na2O: 6.86%-8.80%). Father more, it is also characterized by ASI of 1.1 (A/CNK: 1.06-1.20), corundum (1.20%-2.86%) and absence of diopside showed through CIPW calculation, which are indicative of peraluminous sub-alkaline S-type graniten. The intrusive rock is relatively enriched in large ion lithophile elements (Rb, Th, U, K, La, Ce) and depleted in high field strength elements (Ta, Nb, P, Ti, Y), and exhibits LREE-enriched ((La/Yb)N: 3.24-16.20) with right-inclined REE distribution patterns. A synthesis of all these characteristics indicates that the Qingcaoshan granitic pluton was probably derived from partial melting of greywacke components in the upper crust as a result of norward subduction of the Bangong Co-Nujiang oceanic crust towards the Qiangtang block.